<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>cookie</title>
	<script type="text/javascript">

		document.cookie='user=应煜鑫';
		document.cookie='pass=123456';
		alert(document.cookie);
		
	</script>
</head>
<body>
	
</body>
</html>